package com.zs.oauth2.oauth2authorizationserver.repository;

import com.zs.oauth2.oauth2authorizationserver.entity.AppUsersEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @author madison
 * @description
 * @date 2021/4/5 15:25
 */
@Repository
public interface UserRepository extends JpaRepository<AppUsersEntity, Integer> {
    AppUsersEntity findByUsername(String username);
}
